home *** CD-ROM | disk | FTP | other *** search
- _always:
-
- FILES: _FILES
-
- _FILES:
- @echo "\tMaking FILES in `pwd`..."
- @-/bin/rm -f FILES
- @( if [ -f Makedefs ] ; then \
- echo FILES Makefile Makedefs ${DISTFILES} ; \
- else \
- echo FILES Makefile ; \
- fi ; \
- ${OTHER_DISTFILES_CMD} \
- ) | tr ' ' '\12' | sort > FILES
-
- RFILES: FILES
- @${DO_DIRS_THIS_MACH}
-
- DISTDIRS:
- @echo ${DISTDIRS}
-
- MACHTYPE:
- @echo ${MACHTYPE}
-
- clobber: clean rm_libs rm_depend
-
- check: _always
- @dir=`pwd`; check | while read line ; do \
- echo "$$dir/"$$line ; \
- done
- @${DO_DIRS}
-
- .DEFAULT:
- @echo ""
- @echo "ERROR: no rule for $@ in Makefile in directory"
- @echo "`pwd`"
- @echo ""
- @exit 1
-
- instpublic:
- ${MAKE} SITE=public MAKE="${MAKE} SITE=public" install
-
- instprivate:
- ${MAKE} SITE=private MAKE="${MAKE} SITE=private" install
-
- demand_GEOMROOT:
- @if [ -z "${GEOMROOT}" ]; then \
- echo "Error: GEOMROOT variable not set. You must edit the" >&2; \
- echo "file makefiles/mk.site.${SITE} to set its value before running 'make install'." >&2; \
- echo "Its value is incorporated into the ${BINDIR}/geomview shell script" >&2; \
- test next = "${MACHTYPE}" && \
- echo "and in ${APPDIR}/Geomview.app/CONFIG.gv" >&2; \
- exit 1; \
- fi
- @if [ ! -d "${GEOMROOT}" ]; then \
- echo "Error: GEOMROOT directory ${GEOMROOT} does not exist." >&2;\
- echo "Its value is incorporated into the ${BINDIR}/geomview shell script" >&2; \
- test next = "${MACHTYPE}" && \
- echo "and in ${APPDIR}/Geomview.app/CONFIG.gv" >&2; \
- echo "You must set it correctly in makefiles/mk.site.${SITE} before running 'make install'." >&2; \
- exit 1; \
- fi
-
-
- #
- # For use on NeXTs when configured for making fat binaries:
- #
- fatdepend:
- ${MAKE} CC=cc RMAKE='${MAKE} CC=cc' depend
-